home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9120 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: nntp.netside.com!usenet
  2. From: weather@netside.com  (Russ Weathersby)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Question on C/370
  5. Date: 8 Mar 1996 04:59:52 GMT
  6. Organization: The Netside Network
  7. Message-ID: <4hoes8$34h@nntp.netside.com>
  8. References: <4he39r$sh0@mtinsc01-mgt.ops.worldnet.att.net> <jodellDnvIns.tE@netcom.com> <4hm419$je2@mtinsc01-mgt.ops.worldnet.att.net>
  9. Reply-To: weather@netside.com (Russ Weathersby)
  10. NNTP-Posting-Host: anx107.netside.com
  11. X-Newsreader: IBM NewsReader/2 v1.2
  12.  
  13. In <4hm419$je2@mtinsc01-mgt.ops.worldnet.att.net>, Arn Trembley <arnold.trembley@worldnet.att.net> writes:
  14. >jodell@netcom.com (Jake Odell) wrote:
  15. >>Arn Trembley (arnold.trembley@worldnet.att.net) posted:
  16. >># Does anyone know how to generate the square brackets "[" "]" used for 
  17. >># array references on an IBM 3270 terminal for the mainframe C/370 
  18. >># compiler?
  19. >>
  20. >>In SAS C, you would use (||) for the [] characters, ie:
  21. >>
  22. >>    array[index]   <- would be ->   array(|index|)
  23. >>-- 
  24. >>jake@pantheon.us.com   jodell@netcom.com
  25. >
  26. >Thanks for the reply.
  27. >
  28. >I am using OS/2 Communications Manager for Warp as my 3270 terminal 
  29. >emulator.  I can generate any hex character in a TSO/ISPF edit session, 
  30. >but they display back as blanks.  We have the C/370 manuals on IBM 
  31. >Bookmanager, but I haven't found the alternate characters there.
  32. >
  33. >I'm sure I could get around this by using pointers rather that array 
  34. >references, but it would be more convenient if the 3270 interface 
  35. >supported the characters!
  36. >
  37. >
  38. Using CM/2, I remapped the '[' character so that it displays the
  39. '[' character, oddly enough.  If that doesn't work, use the Ansi C
  40. trigraph sequences: '??(' for '[' and '??)' for ']'.
  41.  
  42. R.Weathersby
  43.  
  44.